﻿// <copyright file="ModOrderingInformation.cs" company="SingularityShift">
// Copyright (c) 2009 SingularityShift.com
// </copyright>
// <author>Ben McClure</author>
// <email>ben@singularityshift.com</email>
// <date>2009-08-14</date>
// <summary>The primary implementation of IModOrderingInformation, extending AbstractModOrderingInformation.</summary>
namespace GameLib.Games.Components
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// A base class providing ordering information about an IMod
    /// </summary>
    public class ModOrderingInformation : AbstractModOrderingInformation
    {
        /// <summary>
        /// Initializes a new instance of the ModOrderingInformation class, specifying the mod group, a defined index, and a priority
        /// </summary>
        /// <param name="group">The group the mod belongs in</param>
        /// <param name="index">The index to try to place the mod at</param>
        /// <param name="priority">The priority for this ordering information (default is -1)</param>
        public ModOrderingInformation(string group, int index, int priority)
        {
            Group = group;
            Index = index;
            Priority = priority;
        }
    }
}
